projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97dbdc1
)
(sh-mode): Recognize .profile as sh style.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 28 Apr 2007 15:37:58 +0000
(15:37 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 28 Apr 2007 15:37:58 +0000
(15:37 +0000)
lisp/progmodes/sh-script.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/sh-script.el
b/lisp/progmodes/sh-script.el
index 2db30ceb4b296a23702ff67099856796dcacff6d..60fc4c43e7bd81d62def70f0dd64d4a0a109cc52 100644
(file)
--- a/
lisp/progmodes/sh-script.el
+++ b/
lisp/progmodes/sh-script.el
@@
-1530,6
+1530,8
@@
with your script for an edit-interpret-debug cycle."
"ksh")
((string-match "[.]csh\\>" buffer-file-name)
"csh")
+ ((equal (file-name-nondirectory buffer-file-name) ".profile")
+ "sh")
(t
sh-shell-file))
nil nil)